import Home from "../components/common/Home.vue";
export default
{
    path: '/cms',
    component:Home,
    children:[
        {
            path:'/article',
            component:resolve => require(['../components/page/cms/article/list.vue'],resolve),
            meta: {title:'文章管理'}
        },
        {
            path: '/channel',
            component: resolve => require(['../components/page/cms/channel/list.vue'], resolve),
            meta: { title: '栏目管理',roles: true}
        },
        {
            path: '/site',
                component: resolve => require(['../components/page/cms/site/list.vue'], resolve),
            meta: { title: '站点管理' }
        },
        {
            path: '/link',
                component: resolve => require(['../components/page/cms/link/list.vue'], resolve),
            meta: { title: '链接管理' }
        },
    ]

}
